package cn.sherer.beans.weixin;

/**
 * 微信用户Openid列表结果
 */
public class WxUserOpenidResult extends WxResult {
    private int total;
    private int count;
    private WxUserOpenid data;
    private String next_openid;

    public WxUserOpenidResult() {
    }

    public WxUserOpenidResult(int errcode, String errmsg) {
        super(errcode, errmsg);
    }

    public int getTotal() {
        return this.total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public int getCount() {
        return this.count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public WxUserOpenid getData() {
        return this.data == null ? new WxUserOpenid() : this.data;
    }

    public void setData(WxUserOpenid data) {
        this.data = data;
    }

    public String getNext_openid() {
        return this.next_openid;
    }

    public void setNext_openid(String next_openid) {
        this.next_openid = next_openid;
    }

    @Override
    public String toString() {
        return "WxUserOpenids{" + "errcode=" + this.getErrcode() + ", errmsg=" + this.getErrmsg() + ", total=" + total + ", count=" + count + ", data=" + data + ", next_openid=" + next_openid + "}";
    }
}
